/*
** struct.h for  in /home/gomes_m//my-project-a-moi/client
** 
** Made by mickael gomes
** Login   <gomes_m@epitech.net>
** 
** Started on  Mon Jul 29 13:58:58 2013 mickael gomes
** Last update Wed Jul 31 00:27:32 2013 mickael gomes
*/

#ifndef			STRUCT_H_
# define		STRUCT_H_

# include		<netdb.h>

typedef struct		s_cmd
{
  char			*cmd;
  char			*arguments;
  char			**cmd_tab;
  char			**paths;
  char			**env;
  char			*complete_cmd;
  char			*response;
  char			*home;
  int			local;
  int			pos;
}			t_cmd;

typedef struct		s_socket
{
  struct sockaddr_in	sin;
  int			fd;
}			t_socket;

typedef struct		s_func
{
  void			(*f)(t_cmd *, t_socket *);
  char			*flag;
}			t_func;

#endif			/* !STRUCT_H_ */
